package com.jtny.nytb.config.dataalarm.service;

import com.jtny.component.entity.PageData;
import com.jtny.component.exception.ServiceException;
import com.jtny.nytb.config.dataalarm.vo.DataAlarmPageQueryParamVO;
import com.jtny.nytb.config.dataalarm.vo.DataAlarmVO;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

/**
 * 数据报警点管理Biz类
 * @author 智慧能源中心 - zx
 * @package com.jtny.nytb.config.generic.dataalarm.biz
 * @fileName EquipmentInfoController.java
 * @createTime 2023年10月16日 10:47
 * @Copyright© 2023 jtny
 * 江投能源技术研究院 版权所有
 */
public interface DataAlarmBiz {
    DataAlarmVO saveDataAlarm(DataAlarmVO dataAlarmVO) throws ServiceException;

    DataAlarmVO updateDataAlarm(DataAlarmVO dataAlarmVO) throws ServiceException;

    void deleteDataAlarm(Long id) throws ServiceException;

    DataAlarmVO detailsDataAlarm(Long id) throws ServiceException;

    PageData<DataAlarmVO> queryPage(DataAlarmPageQueryParamVO dataAlarmPageQueryParamVO) throws ServiceException;

    void downloadDataAlarmTemplate(HttpServletResponse response);

    void importDataAlarm(MultipartFile file);
}
